package com.liliudong.rommath.common.security;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 当前登录用户
 *
 * @author liudo
 * @version 1.0
 * @project template-backend
 * @date 2024/7/30 15:17:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CurrentUser {

    /**
     * 用户ID
     */
    private Long id;

    /**
     * 账户
     */
    private String account;

    /**
     * 部门编号
     */
    private String deptCode;

    /**
     * 创建人
     */
    private Long createdBy;

    /**
     * 创建自部门编号
     */
    private String createdFrom;
}
